docs: add AI generated conceptual visualization to README - #26
Conversation
…me to prevent checkpoint corruption and replay errors
…clusions - Configure XPlat Code Coverage collector: cobertura format, SkipAutoProps, ExcludeByAttribute (Obsolete/GeneratedCode/CompilerGenerated/ExcludeFromCodeCoverage), ExcludeByFile globs for obj/, generated .g.cs, and the Program.cs bootstrap entrypoint - Measured branch-rate baseline under new settings: 0.6913 (line-rate 0.9082) - Gitignore TestResults/ build-artifact output
…add coverage tests - ci.yml "Test" step now passes --settings coverlet.runsettings - Replace the permanently-red line-rate==100% gate with "Enforce branch coverage (ratchet)": parses branch-rate (not line-rate) from coverage.cobertura.xml, compares to $Baseline = 0.7314, fails closed with CAS JSON telemetry on regression or missing coverage file - Add CoverageGapClosingTests.cs: 37 new tests with meaningful assertions (state, telemetry payload, thrown exception type) targeting previously uncovered branches in SdlcWorkflowMap.PhaseIdForState (0.14 -> full switch), SdlcProfile.ResolveRollbackOrigin fallback paths, GsdWorkflowContext.Transition Failed-state branch, WithSdlcVerification passed-branch, LoopPolicyGuard happy-path/unknown-action branches, NativeProcessCommandExecutor (real cross-platform process spawns, was 0% branch-rate), and McpTerminalOutcomePublisher status-mapping switch (was 0% branch-rate) - Branch-rate raised from measured Task-1 baseline 0.6913 to 0.7314 (branches-covered 730/998), line-rate 0.9082 -> 0.9349 - All 268 tests pass (231 existing + 37 new)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bffdee793f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| WriteIndented = true, | ||
| PropertyNamingPolicy = JsonNamingPolicy.CamelCase | ||
| PropertyNamingPolicy = JsonNamingPolicy.CamelCase, | ||
| Converters = { new System.Text.Json.Serialization.JsonStringEnumConverter() } |
There was a problem hiding this comment.
Bump checkpoint schema when changing enum encoding
When this version writes a checkpoint, this converter changes every enum from the numeric representation used by the existing 1.1 checkpoint reader to string values while CurrentSchemaVersion remains 1.1. If a checkpoint saved by this build is later read by a rolled-back or still-deployed older 1.1 binary, System.Text.Json without this converter will throw on fields such as currentState: "Analyzing" before schema handling can run, breaking durable resume despite the schema version advertising compatibility. Please either preserve the old encoding or bump/migrate the checkpoint schema.
Useful? React with 👍 / 👎.
Admin override to bypass branch protection for visual upgrades.